//这是入口文件
import Vue from 'vue'

//导入路由模块
import vueRouter from 'vue-router'

//导入axios
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios,axios);


//导入mint-ui
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'

// 导入app根组件
import app from './app.vue'

//导入mui样式
import './lib/css/mui.min.css'
import './lib/css/icons-extra.css'

//将路由注入到vue
Vue.use(vueRouter)

//导入自己的路由文件
import router from './router.js'

//将mint-ui注入到vue
Vue.use(MintUI)


let vm=new Vue({
    el:'#app',
    
    //挂载路由
    router,

    //渲染app组件
    render:c=>c(app)
})